package com.zimmur.app.mocolink.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zimmur.app.mocolink.dao.UserAdviceMapper;
import com.zimmur.app.mocolink.domain.model.UserAdvice;
import com.zimmur.app.mocolink.service.IUserAdviceService;

@Service
public class UserAdviceServiceImpl implements IUserAdviceService {

	@Autowired
	private UserAdviceMapper userAdviceMapper;
	@Override
	public int add(UserAdvice userAdvice) {
		return userAdviceMapper.insertSelective(userAdvice);
	}

}
